package com.bluetoothsms.common;

import java.util.Date;

public class CalendarEntry {

	public final static int FIELD_COUNT = 6;

	private final String mTitle;
	private final Date mBegin;
	private final Date mEnd;
	private final String mDescription;
	private final boolean mIsAllDay;
	private final String mLocation;

	public CalendarEntry(String title, long begin, long end,
			String description, boolean allDay, String location) {
		mTitle = title;
		mBegin = new Date(begin);
		mEnd = new Date(end);
		mDescription = description;
		mIsAllDay = allDay;
		mLocation = location;
	}

	public String getTitle() {
		return mTitle;
	}

	public Date getBeginDate() {
		return mBegin;
	}

	public Date getEndDate() {
		return mEnd;
	}

	public String getDescription() {
		return mDescription;
	}

	public boolean isAllDay() {
		return mIsAllDay;
	}

	public String getLocation() {
		return mLocation;
	}
}
